package roborally.program.command;

import be.kuleuven.cs.som.annotate.Basic;
import be.kuleuven.cs.som.annotate.Immutable;
import be.kuleuven.cs.som.annotate.Raw;

/**
 * A class representing a sequence of Commands.
 * 
 * @author Molderez Tom, 2de bach Ingenieurswetenschappen Computerwetenschappen-Elektrotechniek and Reniers Jorn, 2de bach Ingenieurswetenschappen Werktuigkunde-Computerwetenschappen
 * @version 1.0
 *
 */
public class SequenceCommand extends FlowCommand {
	
	private static final String SEQ  = "seq";
	
	public SequenceCommand() {
		super();
	}

	/**
	 * Returns a String representation of this SequenceCommand.
	 */
	@Override
	public String write() {
		String write = "(" + SEQ + " ";
		write = write + super.write() + " )";
		return write;
	}
	
	@Immutable @Basic @Raw
	public static String getWord() {
		return SEQ;
	}

}
